<include file="Base/header" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap-fileupload.css" />
<div class="page-container">
	<include file="Base/menu" />
	<div class="page-content">
		<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->
					<h3 class="page-title"></h3>
					<ul class="breadcrumb">
						<li> <i class="icon-home"></i>
							<a href="/index.php/Admin/">首页</a> <i class="icon-angle-right"></i>
						</li>
						<li>
							<a href="/index.php/Admin/Company">其他管理</a>
						</li>
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
			</div>
			<div class="row-fluid">
				<div class="span12">
					<div class="portlet box blue tabbable">
						<div class="portlet-title">
							<div class="caption">
								<i class="icon-reorder"></i>
								<span class="hidden-480">新增活动背景图</span>
							</div>
						</div>

						<div class="portlet-body form">
							<form  method="post" class="form-horizontal" enctype="multipart/form-data" action="__URL__/Add">
								<div class="control-group"></div>
								<div class="control-group">
									<!-- <label class="control-label">ID</label>
								-->
								<div class="controls">
									<input type="hidden"  class="m-wrap small" value="">
									<span class="help-inline"></span>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label">类型：</label>
                                <div class="controls">
                                    <select placeholder="" class="m-wrap medium" name="type">
				                        <option value="0">酒吧</option>
				                        <option value="1">k歌</option>
				                        <option value="2">美食</option>
                                    </select>
                                    <span class="help-inline">请选择类型</span>
                                </div>
							</div>
							<div class="control-group">

								<!-- <form action="__URL__/upload" method="post" enctype="multipart/form-data">
								-->
								<div class="control-group">

									<label class="control-label">选择图片：</label>

									<div class="controls">

										<div class="fileupload fileupload-new" data-provides="fileupload">

											<div class="fileupload-new thumbnail" style="width: 200px; height: 150px;">

												<img src="{$data.image}" alt="" />

											</div>

											<div class="fileupload-preview fileupload-exists thumbnail" style="max-width: 200px; max-height: 150px; line-height: 20px;"></div>
											<span class="help-inline">640*260px png,大小不超过200KB</span>
											<div>

												<span class="btn btn-file">
													<span class="fileupload-new">选择图片</span>

													<span class="fileupload-exists">选择</span>

													<input name="image" type="file" class="default" />
												</span>

												<a href="#" class="btn fileupload-exists" data-dismiss="fileupload">重选</a>

											</div>

										</div>

									</div>

								</div>

							</div>

							<div class="form-actions">
								<button type="submit" class="btn blue">
									<i class="icon-ok"></i>
									保存
								</button>
								<!-- <button type="button" class="btn">删除</button>
							-->
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/bootstrap-fileupload.js"></script>
<include file="Base/footer" />